package com.yzw.mybatisutils.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author：yzw
 * @Date：2017/11/29
 * @描述：
 */
public class Table implements Serializable {

	private String tableName;

	private String tableComment;

	private List<Column> columns;

	private String[] primaryKey;

	public Table(String tableName, String tableComment, List<Column> columns, String[] primaryKey) {
		this.tableName = tableName;
		this.tableComment = tableComment;
		this.columns = columns;
		this.primaryKey = primaryKey;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

	public List<Column> getColumns() {
		return columns;
	}

	public void setColumns(List<Column> columns) {
		this.columns = columns;
	}

	public String[] getPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(String[] primaryKey) {
		this.primaryKey = primaryKey;
	}
}
